package com.baosight.risk.service.riri.entity;

import com.baosight.risk.base.entity.BaseEntity;
import com.baosight.risk.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.List;

@Data
@ApiModel
@Table(name = "T_RIRI_YY_RISK")
public class RiriYyRisk extends BaseEntity {
    @Column(name = "COMP_NAME")
    @Excel(name = "单位")
    private String compName;

    @Column(name = "RISK_TYPE_NAME")
    @Excel(name = "风险大类")
    private String riskTypeName;

    @Column(name = "DETAIL_TYPE_NAME")
    @Excel(name = "风险细类")
    private String detailTypeName;

    @Column(name = "RISK_DESC")
    @Excel(name = "情况描述")
    private String riskDesc;

    @Column(name = "RE_PLAN")
    @Excel(name = "整改措施")
    private String rePlan;

    @Column(name = "ACCT_YEAR")
    @Excel(name = "年度")
    private String acctYear;

    @Column(name = "QUARTER_CURRENT")
    @Excel(name = "季度")
    private String quarterCurrent;


    @Column(name = "RISK_TYPE")
    private String riskType;



    @Column(name = "DETAIL_TYPE")
    private String detailType;



    @Column(name = "STATUS")
    private String status;

    @Column(name = "STATUS_NAME")
    private String statusName;

    @Column(name = "COMP_CODE")
    private String compCode;



    @Column(name = "DEPT_CODE")
    private String deptCode;

    @Column(name = "DEPT_NAME")
    private String deptName;


    @Column(name = "ADMIN_FLAG")
    private String adminFlag;

    @Column(name = "MANAGE_COMP_CODE")
    private String manageCompCode;

    @Column(name = "MANAGE_COMP_NAME")
    private String manageCompName;

    @Column(name = "REMARK")
    @Excel(name = "备注")
    private String remark;

    @Column(name = "ROW_ORDER")
    private String rowOrder;

    /**
     * 公司ID集合
     */
    private List<String> compIdList;

    /**
     * 需要导出的字段列表
     */
    private List<String> columNameList;

    private String deleteFlag;

    private static final long serialVersionUID = 1L;
}
